package org.jeecg.modules.flowable.controller;


import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.jeecg.modules.flowable.service.IFlowableHelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import lombok.extern.slf4j.Slf4j;

@Tag(name="flowable示例")
@RestController
@RequestMapping("/flowable")
@Slf4j
public class FlowableHelloController {

	@Autowired
	private IFlowableHelloService jeecgHelloService;

	@Operation(summary="对外服务接口")
	@GetMapping(value = "/hello")
	public String sayHello() {
		log.info(" ---我被调用了--- ");
		return jeecgHelloService.hello();
	}

}
